package factory;

public enum  PowEnum{
    student(new StudentStrategy()),
    teacher(new TeacherStrategy());

    private Calc strategy;

    PowEnum(Calc strategy){
        this.strategy = strategy;
    }

    public Calc getStrategy() {
        return strategy;
    }
}